package com.anping.service;

import com.anping.model.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by admin on 2016/7/18.
 */
public interface UserService {

    boolean addUser(User user);

    User findUserById(int userId);

    List<User> findUserByName(String userName);

    List<User> findUserList(User user);

    boolean deleteUserById(String userId);

    boolean batchDeleteUser(List<String> userIds);

    boolean updateUser(User user);

}
